export default {
    username:[
        { required:true,message:"用户名必填",trigger:"blur" },
        { min:4,message:"用户名必须大于4位",trigger:"blur" }
    ],
    password:[
        { required:true,message:"密码必填",trigger:"blur" },
        { min:4,message:"密码必须大于4位",trigger:"blur" }
    ],
    email:[
        { pattern:/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/ , message:"邮箱格式错误",trigger:"blur" }
    ],
    mobile:[
        { pattern:/^(?:(?:\+|00)86)?1\d{10}$/,message:"手机号码错误",trigger:"blur"  }
    ]
}